﻿#include "subject.h"

Subject::Subject()
{

}

//Subject::Subject(QObject *parent): QObject(parent)
//{

//}

// 构造函数实现
//Subject::Subject(const QString &num, const QString &content, const QString &type, const QString &typeName,
//                 const QString &analysis, const QString &answer, const QString &fraction,
//                 const QString &optionA, const QString &optionB, const QString &optionC,
//                 const QString &optionD, const QString &optionE, const QString &optionF,
//                 const QString &optionG, const QString &optionH, const QString &optionI,
//                 const QString &optionJ, const QString &optionK)
//    : subNum(num), subContent(content), subType(type), subTypeName(typeName),
//      subAnalysis(analysis), subAnswer(answer), subFraction(fraction),
//      optionA(optionA), optionB(optionB), optionC(optionC), optionD(optionD),
//      optionE(optionE), optionF(optionF), optionG(optionG), optionH(optionH),
//      optionI(optionI), optionJ(optionJ), optionK(optionK) {}

Subject::~Subject()
{

}

void Subject::setSubNum(QString& subNum){
    this->subNum = subNum;
}
QString Subject::getSubNum(){
    return this->subNum;
}
